<?php /* Smarty version Smarty-3.1.12, created on 2016-07-11 16:48:55
         compiled from "D:\phpStudy\WWW\demonew\m\template\model\header.tpl" */ ?>
<?php /*%%SmartyHeaderCode:1858357835d77ac79e2-29107779%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    '5d9f27fdf6ac6f9a16acc518605be12cebb0a87a' => 
    array (
      0 => 'D:\\phpStudy\\WWW\\demonew\\m\\template\\model\\header.tpl',
      1 => 1465797865,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '1858357835d77ac79e2-29107779',
  'function' => 
  array (
  ),
  'variables' => 
  array (
    'webimg' => 0,
    'path_index' => 0,
    'sitename' => 0,
    'url_index' => 0,
  ),
  'has_nocache_code' => false,
  'version' => 'Smarty-3.1.12',
  'unifunc' => 'content_57835d77ae3f04_81479456',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_57835d77ae3f04_81479456')) {function content_57835d77ae3f04_81479456($_smarty_tpl) {?><header id="header">
	<?php if ($_smarty_tpl->tpl_vars['webimg']->value!=''){?>
	  <img src="<?php echo $_smarty_tpl->tpl_vars['path_index']->value;?>
<?php echo $_smarty_tpl->tpl_vars['webimg']->value;?>
">
	<?php }else{ ?>
      <?php echo $_smarty_tpl->tpl_vars['sitename']->value;?>

    <?php }?>
</header>

<script>
  var url_index = '<?php echo $_smarty_tpl->tpl_vars['url_index']->value;?>
';
  var url_rel = window.location.href;
	  
  $('.header_right').click(function(){
	     window.location.href='<?php echo $_smarty_tpl->tpl_vars['url_index']->value;?>
'; 
  })
</script><?php }} ?>